<!DOCTYPE html>
<style>
#a {
  height: 100px; 
  max-width: 100px;
  width: 50px;
  background: red;
  display: table;
  font: 10px/1 Ahem;
}
</style>
<script src="../../resources/check-layout.js"></script>
<body onload="checkLayout('#a')">
    <div>This test checks that a table with 'width' and content wider than 'max-width' is not constrained.</div>
    <div id="a" data-expected-width="200">XXXXXXXXXXXXXXXXXXXX</div>
</body>
